﻿using System;
using System.Collections.Generic;

/* Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

namespace Sys.Workflow.Engine.Impl.Persistence.Entity
{

    using Sys.Workflow.Engine.History;

    /// 
    /// 
    public interface IHistoricTaskInstanceEntity : IHistoricScopeInstanceEntity, IHistoricTaskInstance, IEntity
    {
        new string ProcessDefinitionId { get; set; }

        new string Id { get; set; }

        new string ExecutionId { get; set; }

        new string Name { get; set; }

        /// <summary>
        /// Sets an optional localized name for the task. </summary>
        string LocalizedName { get; set; }

        new string Description { get; set; }

        /// <summary>
        /// Sets an optional localized description for the task. </summary>
        string LocalizedDescription { get; set; }

        new string Assignee { get; set; }

        new string AssigneeUser { get; set; }

        new string TaskDefinitionKey { get; set; }

        new string FormKey { get; set; }

        new int? Priority { get; set; }

        new DateTime? DueDate { get; set; }

        new string Category { get; set; }

        new string Owner { get; set; }

        new string ParentTaskId { get; set; }

        new DateTime? ClaimTime { get; set; }

        new string TenantId { get; set; }

        IList<IHistoricVariableInstanceEntity> QueryVariables { get; set; }
    }
}